package com.singfan.core.dao.database.model;

import com.singfan.common.db.annotation.Primarykey;

import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * Author: hansonghe
 * Date: 2015-08-19 12:12
 * Desc:
 */
public class Shop {
    //主键
    @Primarykey
    private long id;
    //注册用的电话号
    private String registerPhone;
    //MD5后的密码
    private String password;
    //密码混淆码
    private String passwordSalt;
    //所属品牌门店的id
    private int masterShopId;
    //分店名
    private String masterShopName;
    //主键
    private String slaveShopName;
    //门店首选的缩略图
    private String shopIconUrl;
    //门店的图片列表，中间用分号隔开
    private String imgList;
    //门店的资质类型(1.公司  2.个人工作室)
    private int companyType;
    //门店简介
    private String description;
    //经营地址
    private String address;
    //经度
    private BigDecimal longitude;
    //纬度
    private BigDecimal latitude;
    //门店所在的市
    private int cityId;
    //门店所在的区
    private int districtId;
    //所在商圈
    private int businessCircleId;
    //门店联系电话
    private String contactNumber;
    //荣誉（几星评价）
    private int honor;
    //门店当前的状态(0.审核未通过 1.审核通过正常营业 2.被禁止营业)
    private int status;
    //主键
    private Date createTime;
    //主键
    private Date updateTime;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getRegisterPhone() {
        return registerPhone;
    }

    public void setRegisterPhone(String registerPhone) {
        this.registerPhone = registerPhone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPasswordSalt() {
        return passwordSalt;
    }

    public void setPasswordSalt(String passwordSalt) {
        this.passwordSalt = passwordSalt;
    }

    public int getMasterShopId() {
        return masterShopId;
    }

    public void setMasterShopId(int masterShopId) {
        this.masterShopId = masterShopId;
    }

    public String getMasterShopName() {
        return masterShopName;
    }

    public void setMasterShopName(String masterShopName) {
        this.masterShopName = masterShopName;
    }

    public String getSlaveShopName() {
        return slaveShopName;
    }

    public void setSlaveShopName(String slaveShopName) {
        this.slaveShopName = slaveShopName;
    }

    public String getShopIconUrl() {
        return shopIconUrl;
    }

    public void setShopIconUrl(String shopIconUrl) {
        this.shopIconUrl = shopIconUrl;
    }

    public String getImgList() {
        return imgList;
    }

    public void setImgList(String imgList) {
        this.imgList = imgList;
    }

    public int getCompanyType() {
        return companyType;
    }

    public void setCompanyType(int companyType) {
        this.companyType = companyType;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    public int getDistrictId() {
        return districtId;
    }

    public void setDistrictId(int districtId) {
        this.districtId = districtId;
    }

    public int getBusinessCircleId() {
        return businessCircleId;
    }

    public void setBusinessCircleId(int businessCircleId) {
        this.businessCircleId = businessCircleId;
    }

    public String getContactNumber() {
        return contactNumber;
    }

    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber;
    }

    public int getHonor() {
        return honor;
    }

    public void setHonor(int honor) {
        this.honor = honor;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}